package com.usian.search.feign;

import com.usian.model.article.ArticleVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("leadnews-article")
public interface ArticleFeign {
    @GetMapping("/api/v1/article/loadAll")
    List<ArticleVo> loadAll();
}
